package beans.lifecycle;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class MyAutoCloseBean implements AutoCloseable {

    @Override
    public void close() throws Exception {
        System.out.println("执行默认的销毁方法...");
    }
}
